# http://music.163.com/#/search/m/?s=%E7%84%B6%E5%90%8E%E8%BF%AB%E4%B8%8D%E5%8F%8A%E5%BE%85%E7%9A%84%E7%88%B1%E5%88%AB%E4%BA%BA&type=1

import urllib.request

headers = {'User-Agent':'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0'
           ,'Cookie':'_ntes_nnid=5171aa0bc6f7ac5219a81dc64302aa6f,1494570212582; _ntes_nuid=5171aa0bc6f7ac5219a81dc64302aa6f; UM_distinctid=15c15be60d4e7-0071380c4f3068-46524230-1fa400-15c15be60d53d2; vjuids=5b38a74e7.15c15be687b.0.5bf5ee93478ab8; vjlast=1495013419.1503024940.12; vinfo_n_f_l_n3=3c9568e787f7c8eb.1.9.1495013419185.1500873513153.1503024957950; JSESSIONID-WYYY=NF%2FPCBnKYXRDZx2ycNtQPR85i%2FAHVOn5RdU8b2pTcwQwTpdfU%5CyWbRhavAktIxzZJ3CtQdWKE7%2Ba9Usu5su95NDSV%2Bc2d%2B8HpxfJq%5CP70TFkUIaud%5Ccp3u5O%5CqNKEiyoSqes7dPga%5CPDf1PmqJOS7IzVnoRtMlYfgKrWvIBMuak99Tb5%3A1504849889313; _iuqxldmzr_=32; __utma=94650624.952531999.1497927951.1497927951.1498101332.2; __utmz=94650624.1497927951.1.1.utmcsr=baidu|utmccn=(organic)|utmcmd=organic; __s_=1; usertrack=c+xxC1l1dYqBA9PiUsW/Ag==; __csrf=e889a5ab4570c828cbb0c4ca72bcbd76'}
request = urllib.request.Request('http://music.163.com/search/#/?s=否则我怎么可能赴汤蹈火',headers=headers)
response = urllib.request.urlopen(request)

data = response.read()
# 设置解码方式
data = data.decode('utf-8')
# 打印结果
print(data)